import com.app.calculate.*;

public class Main {
	private static final String minifile = "D:/android_project/it4853-infomation-retrieval/src/abstract.xml";
	private static final String file = "D:/android_project/it4853-infomation-retrieval/src/full.xml";
	private static final String test = "D:/android_project/it4853-infomation-retrieval/src/test.xml";

	public static void main(String[] args) throws Exception {
		System.out.println("Process is running!...");
		long startTime = System.currentTimeMillis();

		// start process
//		Converter converter = new Converter(minifile);
//		Converter converter = new Converter(test);
//		converter.miniTest();
//		
		Converter converter = new Converter(file);
		converter.handleDocument();
		
		long endTime = System.currentTimeMillis();
		long totalTime = endTime - startTime;
		System.out.println("running program is: " + totalTime);
	}
}
